<?php

class Siswa{

	var $db;

	public function __construct(){
		$this->db = new DBClass();
	}
	
	public function get_all_siswa(){
		
		$query = "Select * from siswa s join nationality n 
			On s.id_nationality = n.id_nationality";

		$rows = $this->db->getRows($query);

		return $rows;	

	}


}